cmake_minimum_required(VERSION 3.16)
if(NOT DEFINED CMAKE_CUDA_ARCHITECTURES)
    set(CMAKE_CUDA_ARCHITECTURES 50)
endif()

project(cuda_practice CUDA)

set(CMAKE_CUDA_STANDARD 14)

include_directories(util)

add_executable(conv
#        test/add_vec.cu
        test/conv.cu
        util/common.cu
        )

set_target_properties(
        conv
        PROPERTIES
        CUDA_SEPARABLE_COMPILATION ON)